package org.feng.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.feng.entity.User;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author feng
 * @since 2021-08-27
 */
public interface UserService extends IService<User> {

    User getUserByUsername(String username);

    IPage<User> deptUser(User user, Long deptId);
}

